package com.design.pattern.command.entity;

public class Stereo {

    public void on(){
        System.out.println("stereo on");
    }

    public void off(){
        System.out.println("stereo off");
    }

    public void setCD(){
        System.out.println("放入CD碟片");
    }

    public void setVolume(int volume){
        System.out.println("调节音量大小为"+volume);
    }
}